<?php

namespace app\admin\model;

use think\Model;

class PreResultModel extends Model
{
    protected $autoWriteTimestamp = true;//自动写入时间戳
    protected $pk = 'id';//主键，可以用get查询

    public function batMatch()
    {
        return $this->belongsTo('BatMatchModel','bat_id');
    }

}
